/* var a = [];
for (var i = 0; i < 10; i++) {
  a[i] = function () {
    console.log(i);
  };
}

a[6](); */

/* var tmp = 123;
if (true) {
  console.log(tmp); // Cannot access 'tmp' before initialization
  let tmp;
} */

// console.log(Math.min.apply(Math, [12, 34, 32, 89, 4]));

/* var a = 10;
var obj = {
  a: 20,
  fn() {
    setTimeout(() => {
      console.log(this.a);
    });
  },
};
obj.fn(); */
